package com.wyz.socket.core.base.packet;

import java.io.ByteArrayOutputStream;

public abstract class AbstractByteArrayReceivePacket<Entity> extends AbstractReceivePacket<Entity , ByteArrayOutputStream> {

    public AbstractByteArrayReceivePacket(int length) {
        super(length);
    }

    @Override
    protected ByteArrayOutputStream createStream() {
        return new ByteArrayOutputStream(length) ;
    }
}
